Strange NFS behaviour, working directory disappears
Subsystems (2)
Hi,
I have a strange issue on a number of PCs that mount /home via NFS. This started after upgrading the NFS server from Redhat 9 to Fedora Core 4. Very occasionally the current working directory or a particular file "disappears". When I say disappears I mean the client returns an odd error when running "ls -l" but on the NFS server the file/directory is fine. Example:
[root@tb39 maxw]# ls -l
ls: log.txt: No such file or directory
total 346704
-rw-r--r-- 1 root root 2605 Sep 4 12:03 b2l2.cfg -rw-r--r-- 1 root root 8872116 Sep 4 11:19 b2l2issue.pcap drwxrwxr-x 6 2997 2997 4096 May 12 14:59 bridge-utils-1.1 -rw-r--r-- 1 root root 2880 Sep 1 16:45 capture.pcap -rw------- 1 root root 1495040 Sep 11 10:18 core drwxr-xr-x 17 10200 users 4096 May 17 10:16 dhcp-3.0.4 -rwxr--r-- 1 root root 1502 Jun 29 10:21 ixiacard.tcl drwxr-xr-x 3 maxw systest 4096 Jul 27 11:50 mrt drwxr-xr-x 6 maxw systest 4096 Sep 15 12:22 tests drwxr--r-- 2 maxw systest 4096 Sep 5 10:19 tools
[root@tb39 maxw]#
Or.....
[root@tb39 src]# ls -l
ls: .: No such file or directory
[root@tb39 src]#
Usually you can fix it by "cd .." and then cd back into the same directory and then all is fine but we run a lot of automated scripts that are failing because of this issue. I have found it very hard to reproduce but it usually happens after a number of files have been created.
Some info about my setup: The clients are running a customised version of Redhat 7.3 with mount version 2.12p and the server is running Fedora Core 4. It worked fine when the NFS server for /home was running on Redhat 9. There are approx 180 clients all of which are diskless and use an NFS root file system.
I have tried combinations of changing between V1, V2, V3, rsize/wsize, nolock, tcp/udp, nolock and hard/soft with no luck! Any ideas????? or is there a way to get debug type output from NFS clients or servers?
Any help would be greatly appreciated!!
Thanks
Max Williams
Technical Support Engineer
Allied Telesis Labs Limited
PO Box 8011, Christchurch
DDI: +64 3 339 9624
NOTICE: This message contains privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify Allied Telesis Labs Ltd immediately.
Any views expressed in this message are those of the individual sender, except where the sender has the authority to issue and specifically states them to be the views of Allied Telesis Labs.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 9 lines · max williams
Hi,
I have a strange issue on a number of PCs that mount /home via NFS. This started after upgrading the NFS server from Redhat 9 to Fedora Core 4. Very occasionally the current working directory or a particular file "disappears". When I say disappears I mean the client returns an odd error when running "ls -l" but on the NFS server the file/directory is fine.
Example:
Quoted 3 lines
[root@tb39 maxw]# ls -l
ls: log.txt: No such file or directory
total 346704
You don't mention which kernel you are using. The latest FC4 kernel is 2.6.17 based: is that still giving you trouble?
Cheers,
Trond
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
How can I forget that!?
Server (FC4) is running 2.6.11-1.1369.
Clients are running 2.6.12.
Do you think I should upgrade the server kernel version? Cheers
Max
Quoted 1 line
Quoted 1 line
Quoted 1 line
Trond Myklebust <[email protected]> 15/09/2006 5:39 p.m. >>>
Quoted 9 lines · max williams
Hi,
I have a strange issue on a number of PCs that mount /home via NFS. This started after upgrading the NFS server from Redhat 9 to Fedora Core 4. Very occasionally the current working directory or a particular file "disappears". When I say disappears I mean the client returns an odd error when running "ls -l" but on the NFS server the file/directory is fine.
Example:
Quoted 3 lines
[root@tb39 maxw]# ls -l
ls: log.txt: No such file or directory
total 346704
You don't mention which kernel you are using. The latest FC4 kernel is 2.6.17 based: is that still giving you trouble?
Cheers,
Trond
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as ( http://sel.as/ )-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
NOTICE: This message contains privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify Allied Telesis Labs Ltd immediately.
Any views expressed in this message are those of the individual sender, except where the sender has the authority to issue and specifically states them to be the views of Allied Telesis Labs.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 6 lines · max williams
How can I forget that!?
Server (FC4) is running 2.6.11-1.1369.
Clients are running 2.6.12.
Do you think I should upgrade the server kernel version? Cheers
Max
Probably both if you can, but at least the clients.
Cheers,
Trond
Quoted 46 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Trond Myklebust <[email protected]> 15/09/2006 5:39 p.m.
Quoted 5 lines · max williams
Hi,
I have a strange issue on a number of PCs that mount /home via NFS. This started after upgrading the NFS server from Redhat 9 to Fedora Core 4. Very occasionally the current working directory or a particular file "disappears". When I say disappears I mean theclient
Quoted 7 lines
returns an odd error when running "ls -l" but on the NFS server the file/directory is fine.
Example:[root@tb39 maxw]# ls -l
ls: log.txt: No such file or directory
total 346704You don't mention which kernel you are using. The latest FC4 kernel is 2.6.17 based: is that still giving you trouble?
Cheers,
Trond-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfsNOTICE: This message contains privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify Allied Telesis Labs Ltd immediately.
Any views expressed in this message are those of the individual sender, except where the sender has the
Quoted 8 lines
authority to issue and specifically states them to
be the views of Allied Telesis Labs.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ NFS maillist - [email protected] https://lists.sourceforge.net/lists/listinfo/nfs
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs